package cn.gok.common.dao.goods;

import cn.gok.common.entity.goods.GoodsBrand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: DxlinY
 * @apiNote: 商品品牌持久层
 * @date: 2020/10/19
 * @time: 17:13
 */
@Repository
public interface GoodsBrandMapper extends BaseMapper <GoodsBrand> {

    @Select("SELECT " +
            "BRAND_ID," +
            "BRAND_LOGO," +
            "BRAND_NAME," +
            "BRAND_DESC," +
            "IS_SHOW " +
            "FROM g_goods_brand")
    List <GoodsBrand> listAll(Object target);
}
